import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.text.NumberFormat;
import java.util.List;
import java.util.Locale;

import DataAccess.DAOAccount;
import DataAccess.DAOCatalog;
import DataAccess.DAOGenerico;
import DataAccess.DAOOrder;
import DataAccess.DAOOrderDetail;
import DataAccess.DAOProduct;
import Domain.Account;
import Domain.Catalog;
import Domain.Order;
import Domain.Product;
import Exception.DadosException;


public class Teste {

	public static void main(String[] args) {
		
		NumberFormat nf = new DecimalFormat ("#,##0.00", new DecimalFormatSymbols (new Locale ("pt", "BR")));  
		double valor = 78945;  
		System.out.println (nf.format (valor / 100));
	}

}
